import serviceAxios from "@/http/index";


export const getNewList = (params) => {
    return serviceAxios({
        url: "addons/ldcms/api.v1/lists?cid=128",
        method: "get",
        params,
    });
}

export const getNewDetail = (params) => {
    return serviceAxios({
        url: "addons/ldcms/api.v1/detail",
        method: "get",
        params,
    });
}

export const getContent = (params) =>{
    return serviceAxios({
        url: "addons/ldcms/api.v1/lists",
        method: "get",
        params,
    });
}

export const getPageContent = (params) =>{

    return serviceAxios({
        url: "addons/ldcms/api.v1/content",
        method: "get",
        params,
    });
}